package com.his.test;

import java.math.BigDecimal;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.his.service.ThpHisInstrumentlibraryService;

public class memedao {
 
	private ThpHisInstrumentlibraryService h; 
	@Before
	public void setUp(){
		ApplicationContext ac = new ClassPathXmlApplicationContext("MyBatis-JPA-Config.xml");
		h = ac.getBean(ThpHisInstrumentlibraryService.class);
	}
	@After
	public void tearDown(){
		h=null;
	}
	@Test
	public void testgetHisInventory(){
		h.getHisInventory("201702180002");
	}
}
